// MyDocTemplate.cpp: implementation of the CMyDocTemplate class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "lc32.h"
#include "MyDocTemplate.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CMyDocTemplate::CMyDocTemplate(UINT nIDResource,
							   CRuntimeClass* pDocClass,
							   CRuntimeClass* pFrameClass,
							   CRuntimeClass* pViewClass,
							   UINT uniqueId)
	: CMultiDocTemplate(nIDResource, pDocClass, pFrameClass, pViewClass), uniqueId(uniqueId)
{
}

CRuntimeClass* CMyDocTemplate::GetViewClass(void)
{
	return m_pViewClass;
}

UINT CMyDocTemplate::GetUniqueId()
{
	return uniqueId;
}